﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Configuration;

namespace _18miljard.Config
{
	public class BotsByIpSection : ConfigurationSection
	{
		public static BotsByIpSection GetConfig()
		{
			return ConfigurationManager.GetSection("botsbyip") as BotsByIpSection;
		}

		[ConfigurationProperty("ips")]
		public BotIpCollection BotIpCollection
		{
			get { return this["ips"] as BotIpCollection; }
		}
 	}
}
